package cn.jjxx.modules.sys.service.impl;

import java.util.List;
import cn.jjxx.core.common.service.impl.TreeCommonServiceImpl;
import cn.jjxx.modules.sys.mapper.SysInterfaceTypeMapper;
import cn.jjxx.modules.sys.entity.SysInterfaceType;
import cn.jjxx.modules.sys.service.ISysInterfaceTypeService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**   
 * @Title: 接口类型
 * @Description: 接口类型
 * @author ml
 * @date 2022-03-23 11:11:52
 * @version V1.0   
 *
 */
@Transactional
@Service("sysInterfaceTypeService")
public class SysInterfaceTypeServiceImpl  extends TreeCommonServiceImpl<SysInterfaceTypeMapper,SysInterfaceType,String> implements  ISysInterfaceTypeService {

	@Override
	public boolean insertBatch(List<SysInterfaceType> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.insertBatch(list);
		}
		return true;
	}

	@Override
	public boolean updateBatch(List<SysInterfaceType> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.updateBatch(list);
		}
		return true;
	}
}
